home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWResour / Include / FWResFil.k < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.7 KB  |  68 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWResFil.k
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWRESFIL_K
  11. #define FWRESFIL_K
  12.  
  13. //----------------------------------------------------------------------------------------
  14. // Predefined resource types
  15. //----------------------------------------------------------------------------------------
  16.  
  17. #if defined FW_BUILD_MAC
  18.  
  19.     /* Mac specific */
  20.     #define FW_kBlackWhiteIcon        'ICON'
  21.     #define FW_kBlackWhiteCursor    'CURS'
  22.  
  23.     /* Common */
  24.     #define FW_kBitmap                'BMAP'
  25.     #define FW_kCursor                'crsr'
  26.     #define FW_kIcon                'cicn'
  27.     #define FW_kPicture                'PICT'
  28.  
  29. #elif defined FW_BUILD_WIN
  30.  
  31.     /* Win specific */
  32.     #define FW_kAccelerator               9
  33.  
  34.     /* Common */
  35.     #define FW_kBitmap                   2
  36.     #define FW_kCursor                   1
  37.     #define FW_kIcon                   3
  38.     #define FW_kPicture                 270
  39.  
  40. #endif
  41.  
  42. /* Formerly from FWRCDefi.h */
  43. #ifdef __ODFRC__
  44.  
  45.    /* these are the predefined types of resources */
  46.    #define FW_kNOKIND                    (-1)
  47.    #define FW_kACCELTABLE                   1
  48.    #define FW_kBITMAP                       2
  49.    #define FW_kICON                           3
  50.    #define FW_kCURSOR                       4
  51.    #define FW_kCODEPAGE                       5
  52.    #define FW_kMENU                           9
  53.    #define FW_kMSGTABLE                      10
  54.    #define FW_kSTRTABLE                      11
  55.    #define FW_kCUSTOMTYPE                  12
  56.    #define FW_kMULTISTRING                  13
  57.  
  58.    /* these are the load and memory option values */
  59.    #define FW_kPRELOAD                       1
  60.    #define FW_kLOADONCALL                   0
  61.    #define FW_kSTATIC                       2
  62.    #define FW_kRELOCATABLE                   0
  63.    #define FW_kPURGEABLE                   4
  64.  
  65. #endif
  66.  
  67. #endif
  68.